<?php
namespace Home\Model;
use Think\Model;

class NavModel extends  Model {
    private $_db = '';
    public function __construct() {
        $this->_db = M('nav');
    }

      public function getNav(){
        $list= $this->_db->order('nav_id asc')->select();
        return $list;
    }




}    